package com.lhd.action.mediator;

/**
 * @Author: liuhd
 * @Date: 2024/12/18 21:28
 * @Description: 抽象同事类
 */
public abstract class Colleague {
    protected String name;
    protected Mediator mediator;

    public void setMediator(Mediator mediator) {
        this.mediator = mediator;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public abstract void invokeAdjust();
}
